package com.probiz.estore.common.model.customer;

import com.probiz.estore.common.model.customer.base.ConsultVoteTbl;

/**
 * Model class for ConsultVote. Add not database mapped fileds in this class.
 */
public class ConsultVote extends ConsultVoteTbl {

  	/**
	 * Default Empty Constructor for class ConsultVote
	 */
	public ConsultVote () {
		super();
	}
	
	/**
	 * 定义实体的业务名取值； consultVoteName
	 * 必须手工完成这个部分，否则编译不通过。
	 */
	public String getConsultVoteName () {
		if (consultVoteId == null)
	        return "";
	    else
			//返回一个指定有业务意义的属性值;
			//如：product的VO就用product.productName
	        return this.consultVoteId.toString();
	}
	
	/**
	 * Default Key Fields Constructor for class ConsultVote
	 */
	public ConsultVote (
		 Integer in_consultVoteId
		) {
		super (
		  in_consultVoteId
		);
	}

}
